import request from "@/utils/request";

// 根据基地得到拍化组
export function getBaseTeamApi(params) {
  return request({
    url: "/getBaseTeam",
    method: "get",
    params,
  });
}
// 查看某个基地的排控列表
export function getTaskScheduleApi(params) {
  return request({
    url: "/getTaskSchedule",
    method: "get",
    params,
  });
}
// 添加一个排空任务
export function addTaskScheduleApi(params) {
  return request({
    url: "/addTaskSchedule",
    method: "get",
    params,
  });
}
// 删除一个排空任务
export function deleteTaskScheduleApi(params) {
  return request({
    url: "/deleteTaskSchedule",
    method: "get",
    params,
  });
}
// 排控
export function orderScheduleApi(params) {
  return request({
    url: "/order_schedule",
    method: "get",
    params,
  });
}
// 查询某一天摄影师、化妆师员工的排控状态
export function getEmployeeControlStatusApi(params) {
  return request({
    url: "/get_employee_control_status",
    method: "get",
    params,
  });
}
